/**
 * 
 */
package ua.lviv.franko.mlsFunctions.oneDimension;

/**
 * @author marko
 * 
 */
public class Values {
	public double	x;
	public double	val;
	public double	valDerivaty;

	public Values() {
		val = 0.0;
		valDerivaty = 0.0;
	}

	public Values(double val, double valDerivaty, double x) {
		this.val = val;
		this.valDerivaty = valDerivaty;
		this.x = x;
	}

	public void setAll(double[] vals) {
		this.val = vals[0];
		this.valDerivaty = vals[1];
	}

	public void setVal(double val) {
		this.val = val;
	}

	public void setValDerivaty(double valDerivaty) {
		this.valDerivaty = valDerivaty;
	}

	public void setX(double x) {
		this.x = x;
	}
}
